<script>
	import { checkLogin } from "comments/auth.js"
	
	export default {
		onLaunch: function() {
			console.log('App Launch')
			checkLogin()
			getApp().globalData.serverHost = "https://tools.xing-z.com"
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
	.content-box {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		margin: 8px 8px 0px 8px;
	}
	
	.content-box-center {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		font-size: 14px;
		width: 100%;
	}
	
	.content-box-row-between {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-around;
		font-size: 14px;
		width: 100%;
	}
	
	.content-box-row-between-all {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		font-size: 14px;
		width: 100%;
	}
	
	.content-box-row-start-wrap {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		flex-wrap: wrap;
		font-size: 14px;
		width: 100%;
	}
	
	.content-box-row-start {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		font-size: 14px;
		width: 100%;
	}
</style>
